﻿using System;

namespace ShuttleBus
{
    public interface IQueue : IDisposable
    {
        IEndpoint Endpoint { get; set; }
        void Send(object message, Uri location);
        bool HasMessage(out BaseMessage message);
        void RemoveMessage(BaseMessage message);
    }
}